home *** CD-ROM | disk | FTP | other *** search
- Path: sn.no!not-for-mail
- From: mobergru@oslonett.no (Rune Moberg)
- Newsgroups: comp.lang.c++,comp.lang.pascal.delphi.misc,comp.os.ms-windows.programmer.tools.misc,alt.folklore.computers
- Subject: Re: C++ with Zapp vs. Delphi
- Date: 10 Jan 1996 21:59:21 +0100
- Organization: CD-Player Pro author!
- Message-ID: <rq+8w0JfFC7A089yn@oslonett.no>
- References: <4cfor8$qno@picasso.op.net> <lKI7w0JfF61N089yn@oslonett.no>
- <4coar6$d4n@sun4.bham.ac.uk> <4cpek3$i7@brasaap.iaehv.nl>
- <4cv6bn$eiu@uuneo.neosoft.com>
- NNTP-Posting-Host: hasle.sn.no
- Mime-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
-
- In article <4cv6bn$eiu@uuneo.neosoft.com>,
- barrym@starbase.neosoft.com (barrym) wrote:
- >I'm a C programmer in a shop with lots of professional programmers using
- >VB and all the other new high level stuff and they do produce some very
- >nice apps very quickly. They also get stuck a lot. They run into all
- >sorts of OS limitations that they need to overcome, and all kinds of
- >speed problems presented by VB (and Delphi) and they call me.
-
- "(and Delphi)"???
-
- Sounds like old habit to me, some VB programmer doing Delphi stuff and
- mistakenly thinks that it's not as powerful as C. Everything achievable
- in C is doable with Delphi (BP8). You can even put assembly code within the
- Delphi code if you really want down to the metal performance (in a tight
- loop it might make a difference).
-
- VB is dead, I'll agree to that. IMO doing C on the Windows platform is pretty
- mute too.
-
- Two years ago, I made a small menu program (AMI bios style), using BP 7.0.
- I had objects, some polymorphism, the works...
- The first draft (without any text, only the basic UI) compiled to 7K. That's
- far less than the stuff the BC++ 3.1 compiler threw at me (20K for small
- "hello world" style C apps).
-
- What the BP 8 (Delphi) compiler lacks, is some optimising. It has poor
- register utilization and the loops look terrible. Delphi 2.0 will share
- compiler backend with BC++ 5.0, so that's going to be fixed very soon (one
- month?). In addition it'll keep the smart linking, so all in all we'll end
- up with a faster (and smarter?) compiler/linker.
-
- Historically, Borland (and others) seems to have put more optimizations into
- their C/C++ compilers, which ofcourse affects any Pascal vs C speed
- comparison.
-
- As for language features, Delphi lacks: Multiple Inheritance and Overloading.
- In return, it provides a neater language which is more maintainable and
- allows for faster development (RAD).
-
- You may disagree with my statements above, but in any case: Delphi is not VB!
-
- --
- =\
- *=- R.Moberg, CD-Player Pro info @ http://www.sn.no/~mobergru/
- =/
-